package cn.easybuy.pojo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

@Data
public class ProductCategory implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;//ID
    private String name;//名称
    private Integer parentId;//父级ID
    private Integer type;//分类级别
    private String iconClass;

   @TableField(exist = false)
    private String parentName;
}
